package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanFenZuSavePO;
import com.ct.application.shipping.model.po.ChuanYuanFenZuSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanFenZuVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanFenZuDO;

import java.util.List;

/**
 * <p>
 * 船员分组 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanFenZuService extends IBaseService<ChuanYuanFenZuDO> {


    List<ChuanYuanFenZuVO> findChuanYuanFenZu();

    List<ChuanYuanFenZuVO> findChuanYuanFenZuList();

    boolean saveChuanYuanFenZu(ChuanYuanFenZuSavePO savePO);

    ChuanYuanFenZuVO getChuanYuanFenZu(Long id);

    boolean updateChuanYuanFenZu(ChuanYuanFenZuSavePO savePO);

    boolean delChuanYuanFenZu(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
